package com.uphone.kingmall.dialog;

import android.app.AlertDialog;
import android.content.Context;
import android.os.Bundle;

import com.china.zhuoyue.R;


/**
 * <pre>
 *     author : 孙增艳
 *     e-mail : sunzengyan@outlook.com
 *     time   : 2018/8/17
 *     desc   : 加载动画的dialog
 *     version: 1.0
 * </pre>
 */
public class LoadingDialog extends AlertDialog {

    public LoadingDialog(Context context) {
        super(context);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
//        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.kingmall_dialog_progress);
        setCanceledOnTouchOutside(false);
    }
}
